import { Custom, CustomEnum } from 'custom/index'
import { dialog } from '@/utils/dialog'

export default class Dialog extends Custom {
  public static name: CustomEnum = 'Dialog';

  public open(dialogProps: any = {}, props: any = {}) {
    return dialog(this.getComponent(), dialogProps, props)
  }
}
